home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 59338 / 59338.xpi / chrome / global / preferences.css < prev    next >
Cascading Style Sheet File  |  2010-02-13  |  4KB  |  136 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Mozilla Public License Version
  5.  * 1.1 (the "License"); you may not use this file except in compliance with
  6.  * the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/MPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is the Preferences UI System.
  15.  *
  16.  * The Initial Developer of the Original Code is
  17.  * Ben Goodger.
  18.  * Portions created by the Initial Developer are Copyright (C) 2005
  19.  * the Initial Developer. All Rights Reserved.
  20.  *
  21.  * Contributor(s):
  22.  *   Ben Goodger <ben@mozilla.org>
  23.  *
  24.  * Alternatively, the contents of this file may be used under the terms of
  25.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  26.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.  * in which case the provisions of the GPL or the LGPL are applicable instead
  28.  * of those above. If you wish to allow use of your version of this file only
  29.  * under the terms of either the GPL or the LGPL, and not to allow others to
  30.  * use your version of this file under the terms of the MPL, indicate your
  31.  * decision by deleting the provisions above and replace them with the notice
  32.  * and other provisions required by the GPL or the LGPL. If you do not delete
  33.  * the provisions above, a recipient may use your version of this file under
  34.  * the terms of any one of the MPL, the GPL or the LGPL.
  35.  *
  36.  * ***** END LICENSE BLOCK ***** */
  37.  
  38. /* ===== preferences.css =====================================================
  39.   == Styles used by the XUL prefwindow element.
  40.   ======================================================================= */
  41.  
  42. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  43.  
  44. /* ::::: dialog ::::: */
  45.  
  46. prefwindow {
  47.   padding: 0px;
  48. min-width:48em;
  49. }
  50.  
  51.  
  52. prefpane {
  53.   padding-top: 8px;
  54.   padding-bottom: 10px;
  55.   -moz-padding-start: 8px;
  56.   -moz-padding-end: 10px;
  57. }
  58.  
  59. prefwindow[type="child"] {
  60.   padding-top: 8px;
  61.   padding-bottom: 10px;
  62.   -moz-padding-start: 8px;
  63.   -moz-padding-end: 10px;
  64. }
  65.  
  66. prefwindow[type="child"] > prefpane {
  67.   padding: 0px;
  68. }
  69.  
  70. .prefWindow-dlgbuttons {
  71.   padding-bottom: 10px;
  72.   -moz-padding-start: 8px;
  73.   -moz-padding-end: 10px;
  74. }
  75.  
  76. prefwindow[type="child"] .prefWindow-dlgbuttons {
  77.   padding: 0px;
  78. }
  79.  
  80.  
  81.  
  82. .paneSelector {
  83. -moz-box-pack: start;
  84. -moz-appearance: none;
  85. margin:10px 10px 3px 10px !important; 
  86. border: 2px solid !important;
  87. -moz-border-radius: 5px;
  88. -moz-border-top-colors:#969595 #c1c0bf !important;
  89. -moz-border-bottom-colors:#d6d5d4 #e0dfde !important;
  90. -moz-border-left-colors:#bbbab9 #dcdbda !important;
  91. -moz-border-right-colors:#bcbbba #dcdbda !important;
  92. padding:0 !important;
  93. background-color:#ffffff !important;
  94. }
  95.  
  96. .paneSelector:focus {
  97. -moz-border-top-colors:#2f75c5 #789bc3 !important;
  98. -moz-border-bottom-colors:#3278c7 #88abd3 !important;
  99. -moz-border-left-colors:#3177c6 #86a8d1 !important;
  100. -moz-border-right-colors:#3278c7 #86a8d1 !important;
  101. }
  102. .paneButtonIcon {
  103.   width: 32px;
  104.   height: 32px;
  105. }
  106.  
  107. radio[pane] {
  108. padding: 5px 0px 1px 0px !important;
  109. margin:0px !important;
  110. border:2px solid transparent;
  111. font-weight:bold;
  112. }
  113.  
  114. radio[pane]:hover {
  115. /* background: Transparent url("chrome://browser/skin/preferences/hover.png") center center !important; */
  116. background: -moz-linear-gradient(top, #deeefe, #ccdae7);
  117. color: #000000;
  118. border:2px solid;
  119. -moz-border-top-colors:#cce1f6 #e7f3fe;
  120. -moz-border-bottom-colors:#cadef2 #e3eef8;
  121. -moz-border-right-colors:#cadff3 #e3effa;
  122. -moz-border-left-colors:#cadff3 #e3eff9;
  123. -moz-border-radius:2px;
  124. }
  125.  
  126. radio[pane][selected="true"] {
  127. /* background: Transparent url("chrome://browser/skin/preferences/select.png") center center !important; */
  128. background: -moz-linear-gradient(top, #68b4fd, #5190cf);
  129. color: #ffffff;
  130. border:2px solid;
  131. -moz-border-top-colors:#418bd4 #89c5fe;
  132. -moz-border-bottom-colors:#418bd4 #71a8df;
  133. -moz-border-right-colors:#418bd4 #77b0e7;
  134. -moz-border-left-colors:#418bd4 #77afe6;
  135. -moz-border-radius:2px;
  136. }